package com.njtoyo.taxi.admin.service.local_service.commodity;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.rest.presenter.local_service.commodity.CommodityExamineDetailsPresenter;
import com.njtoyo.taxi.admin.rest.presenter.local_service.commodity.CommodityExaminePagePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.commodity.CommodityExaminePageWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.commodity.CommodityExamineWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

public interface CommodityExamineService {

    /**
     * 商品审核列表
     *
     * @param adminUser
     * @param wrapper
     * @return
     */
    RestResult<Page<CommodityExaminePagePresenter>> getPage(AdminUser adminUser, CommodityExaminePageWrapper wrapper);

    /**
     * 商品审核详情
     *
     * @param id
     * @return
     */
    RestResult<CommodityExamineDetailsPresenter> details(Long id);

    /**
     * 商品审核状态
     *
     * @param id
     * @return
     */
    RestResult examine(Long id, CommodityExamineWrapper wrapper);
}
